package com.uplooking.pms.system.entity;

import java.io.Serializable;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * ��֯����
 * </p>
 *
 * @author yzb
 * @since 2018-06-13
 */
public class Organization extends Model<Organization> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
	private String id;
    /**
     * 角色权限
     */
	private String rid;
    /**
     * ����id
     */
	private String pid;
    /**
     * ��֯����
     */
	private String name;
    /**
     * ��ע
     */
	private String remarks;
    /**
     * ����
     */
	private BigDecimal sort;
    /**
     * �ȼ�
     */
	private BigDecimal level;


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getRid() {
		return rid;
	}

	public void setRid(String rid) {
		this.rid = rid;
	}

	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public BigDecimal getSort() {
		return sort;
	}

	public void setSort(BigDecimal sort) {
		this.sort = sort;
	}

	public BigDecimal getLevel() {
		return level;
	}

	public void setLevel(BigDecimal level) {
		this.level = level;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "Organization{" +
			"id=" + id +
			", rid=" + rid +
			", pid=" + pid +
			", name=" + name +
			", remarks=" + remarks +
			", sort=" + sort +
			", level=" + level +
			"}";
	}
}
